home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Mail / pine3.92 / pine / context.h < prev    next >
C/C++ Source or Header  |  1996-03-14  |  2KB  |  64 lines

  1. /*
  2.  *
  3.  * $Id: context.h,v 4.19 1996/03/15 07:13:42 hubert Exp $
  4.  *
  5.  * Program:    Mailbox Context Management
  6.  *
  7.  * Author:    Mark Crispin
  8.  *        Networks and Distributed Computing
  9.  *        Computing & Communications
  10.  *        University of Washington
  11.  *        Administration Building, AG-44
  12.  *        Seattle, WA  98195
  13.  *        Internet: MRC@CAC.Washington.EDU
  14.  *
  15.  *
  16.  * Pine and Pico are registered trademarks of the University of Washington.
  17.  * No commercial use of these trademarks may be made without prior written
  18.  * permission of the University of Washington.
  19.  *
  20.  * Pine, Pico, and Pilot software and its included text are Copyright
  21.  * 1989-1996 by the University of Washington.
  22.  *
  23.  * The full text of our legal notices is contained in the file called
  24.  * CPYRIGHT, included with this distribution.
  25.  */
  26.  
  27. #ifndef _CONTEXT_INCLUDED
  28. #define _CONTEXT_INCLUDED
  29.  
  30. extern char *current_context;
  31. typedef void  (*find_return) PROTO(());
  32.  
  33. /*
  34.  * Prototypes
  35.  */
  36. void        context_mailbox PROTO((char *));
  37. void        context_bboard PROTO((char *));
  38. void        context_fqn_to_an PROTO((find_return, char *, char *));
  39. int        context_isambig PROTO((char *));
  40. char       *context_digest PROTO((char *, char *, char *, char *, char *));
  41. void        context_apply PROTO((char *, char *, char *));
  42. void        context_find PROTO((char *, MAILSTREAM *, char *));
  43. void        context_find_bboards PROTO((char *, MAILSTREAM *, char *));
  44. void        context_find_all PROTO((char *, MAILSTREAM *, char *));
  45. void        context_find_all_bboard  PROTO((char *, MAILSTREAM *, char *));
  46. long        context_create PROTO((char *, MAILSTREAM *, char *));
  47. MAILSTREAM *context_open PROTO((char *, MAILSTREAM *, char *, long));
  48. long        context_rename PROTO((char *, MAILSTREAM *, char *, char *));
  49. long        context_delete PROTO((char *, MAILSTREAM *, char *));
  50. long        context_append PROTO((char *, MAILSTREAM *, char *, STRING *));
  51. long        context_copy PROTO((char *, MAILSTREAM *, char *, char *));
  52. long        context_append_full PROTO((char *, MAILSTREAM *, char *, char *, \
  53.                        char *, STRING *));
  54. long        context_subscribe PROTO((char *, MAILSTREAM *, char *));
  55. long        context_unsubscribe PROTO((char *, MAILSTREAM *, char *));
  56. MAILSTREAM *context_same_stream PROTO((char *, char *, MAILSTREAM *));
  57. MAILSTREAM *context_same_driver PROTO((char *, char *, MAILSTREAM *));
  58. #ifdef NEWBB
  59. void        context_find_new_bboard PROTO((char *, MAILSTREAM *, char *, \
  60.                        char *));
  61. #endif
  62.  
  63. #endif /* _CONTEXT_INCLUDED */
  64.